package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyCwFine;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyCwFineParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyCwFineResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 财务罚款 服务类
 * </p>
 *
 * @author 
 * @since 2022-01-18
 */
public interface BtyCwFineService extends IService<BtyCwFine> {

    /**
     * 新增
     *
     * @author 
     * @Date 2022-01-18
     */
    void add(BtyCwFineParam param);

    /**
     * 删除
     *
     * @author 
     * @Date 2022-01-18
     */
    void delete(BtyCwFineParam param);

    /**
     * 更新
     *
     * @author 
     * @Date 2022-01-18
     */
    void update(BtyCwFineParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author 
     * @Date 2022-01-18
     */
    BtyCwFineResult findBySpec(BtyCwFineParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author 
     * @Date 2022-01-18
     */
    List<BtyCwFineResult> findListBySpec(BtyCwFineParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author 
     * @Date 2022-01-18
     */
     LayuiPageInfo findPageBySpec(BtyCwFineParam param);

    ResponseData synData(String month);

    ResponseData dmList();

    ResponseData batchAudit(String month);

    ResponseData audit(Long id);

    ResponseData recall(Long id);

    void editById(BtyCwFineParam btyCwFineParam);

    ResponseData synGoodspay(String month);
}
